using System;
using System.Security.Cryptography;

namespace Wantn.Share.DataCry
{
	public sealed class Rng
	{
		public static byte[] Gen()
		{
			byte[] array = null;
			RNGCryptoServiceProvider rNGCryptoServiceProvider = null;
			try
			{
				array = new byte[16];
				rNGCryptoServiceProvider = new RNGCryptoServiceProvider();
				rNGCryptoServiceProvider.GetBytes(array);
				return array;
			}
			catch (Exception ex)
			{
				throw ex;
			}
		}

	}
}
